﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using System.ComponentModel;
namespace NETMovie.UI.WebMVC.Models
{

    public class MovieModel
    {
        [Required]
        [DisplayName("Category")]
        public string Category
        {
            get;
            set;
        }

        public int MovieId
        {
            get;
            set;
        }

        [DisplayName("Article Url")]
        public String ArticleUrl
        {
            get;
            set;
        }


        [Required]
        [DisplayName("Description")]
        public String Description
        {
            get;
            set;
        }

        [DisplayName("Filename")]
        public String FileName
        {
            get;
            set;
        }


        [Required]
        [DisplayName("Title")]
        public String Title
        {
            get;
            set;
        }


        [Required]
        [DisplayName("Available date")]
        public DateTime AvailableDate
        {
            get;
            set;
        }

        [Required]
        [DisplayName("Release date")]
        public DateTime ReleaseDate
        {
            get;
            set;
        }

        [Required]
        [DisplayName("Summary")]
        public String Summary
        {
            get;
            set;
        }

        //    [Required]
        [DisplayName("Premium Movie")]
        public Boolean isPremium
        {
            get;
            set;
        }

        public string MoviePath
        {
            get;
            set;
        }


        public Boolean DeleteFlg
        {
            get;
            set;
        }

        public Boolean IsRented
        {
            get;
            set;
        }

        public IEnumerable<SelectListItem> Categories
        {
            get;
            set;
        }



        public IEnumerable<SelectListItem> Articles
        {
            get;
            set;
        }

        public CastMemberModel[] CastMembers
        {
            get;
            set;
        }

        public WatchMovieModel WatchModel
        {
            get;
            set;
        }
    }
}